From d14106573b7c1d00e2b7dd10b1849d6751abee8c Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 3 Nov 2003 14:35:24 +0000 Subject: [PATCH] Whack dead code. --- gpsbabel/psitrex.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gpsbabel/psitrex.c b/gpsbabel/psitrex.c index e406c20f5..88939a105 100755 --- a/gpsbabel/psitrex.c +++ b/gpsbabel/psitrex.c @@ -206,22 +206,6 @@ psit_wr_deinit(void) fclose(psit_file_out); } -/* - * get characters until and including terminating NULL from psit_file_in - * and write into buf. - */ -static void -psit_readstr(FILE *psit_file, char *buf, size_t sz) -{ - int c; - while (sz-- && (c = fgetc (psit_file)) != EOF) { - *buf++ = c; - if (c == 0) { - return; - } - } -} - /* * get characters until and including terminating NULL from psit_file_in * and write into buf. -- 2.30.2